package com.feng;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @description:
 * @author: lrf
 * @create: 2019-09-03
 **/
public class Main {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext(PrePostConfig.class);

        JSR250WayService jsr250WayService = context.getBean(JSR250WayService.class);
        BeanWayService beanWayService = context.getBean(BeanWayService.class);


        context.close();
    }
}
